package com.wfs.aoawlms.mapper;

import com.wfs.aoawlms.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface LoginMapper {
    @Select("SELECT * FROM tb_user WHERE username = #{username} and password = #{password}")
    User login(@Param("username") String username, @Param("password") String password);
}
